package net.xinqushi;

import java.io.File;
import java.util.*;

public class Test123 {
    public static void main(String[] args) {
        File file = new File("C:\\Users\\admin\\Desktop\\备忘录\\jenkins.txt");
        System.out.println(file.getName());
        System.out.println(file.getAbsolutePath());
    }

}
